package com.tentative.competition.schedule.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tentative.competition.common.core.result.PageResult;
import com.tentative.competition.common.model.schedule.param.ScheduleOrgInfoAddParam;
import com.tentative.competition.common.model.schedule.resp.PreviousWorksResp;
import com.tentative.competition.common.model.schedule.resp.ScheduleOrgInfoResp;
import com.tentative.competition.schedule.domain.ScheduleOrgInfo;

import java.util.List;

/**
 * <p>
 * 赛程组织机构信息 服务类
 * </p>
 *
 * @author SmileH
 * @since 2023-06-22
 */
public interface ScheduleOrgInfoService extends IService<ScheduleOrgInfo> {

    PageResult<ScheduleOrgInfoResp> pageList(ScheduleOrgInfoAddParam param);

    ScheduleOrgInfoResp getInfo(Long id);

    void addOrEdit(ScheduleOrgInfoAddParam param);

    Boolean deleteOrgInfo(List<Long> ids);

    List<ScheduleOrgInfoResp> getPreviousWorks(Long scheduleId);
}
